from protorpc.wsgi import service

from api.factions import FactionService
from api.trait import TraitService
from api.units import UnitService
from api.weapon import WeaponService

app = service.service_mappings([
    ('/api/faction.*', FactionService),
    ('/api/trait.*', TraitService),
    ('/api/unit.*', UnitService),
    ('/api/weapon.*', WeaponService)
])